﻿using Ceri.Platform.EAM_NEW.API.Services.BasicData;
using Microsoft.AspNetCore.Mvc;

namespace Ceri.Platform.EAM_NEW.API.Controllers
{
    /// <summary>
    /// 方法举例
    /// </summary>
    [Route("api/[controller]")]
    [ApiController]
    public class TestController : BaseApiController
    {
        private readonly ICRANEService iCRANEService;
        public TestController(ICRANEService iCRANEService)
        {
            this.iCRANEService = iCRANEService;
        }

        /// <summary>
        /// 日志举例
        /// </summary>
        /// <returns></returns>
        [HttpGet("LogTest")]
        public bool LogTest()
        {
            return iCRANEService.LogTest();
        }

    }
}
